-- GENERATED SPELL FOR [Tashar] --


function spell0_20913(pUnit, Event) --@Arcane Torrent,Self--
pUnit:FullCastSpellOnTarget(28730,pUnit)
pUnit:RegisterEvent('Sorts_20913', 2273, 1)
end

function Sorts_20913(pUnit, Event)
local choix_sorts_20913 = math.random(0, 0)
if choix_sorts_20913 == 0 then
pUnit:RegisterEvent('spell0_20913', 1, 1)
end
end

function mob20913_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20913', math.random(1500, 3000), 1)
end

function mob20913_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20913_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20913_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20913, 1, 'mob20913_Action')
RegisterUnitEvent(20913, 2, 'mob20913_Leave')
RegisterUnitEvent(20913, 3, 'mob20913_Kill')
RegisterUnitEvent(20913, 4, 'mob20913_Die')
